package com.nitty.cash.loop.weight.font;

import android.content.Context;
import android.graphics.Typeface;
import android.util.AttributeSet;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.lib.common.shapeview.view.ShapeEditText;
import com.nitty.cash.loop.NittyApp;

/**
 * NittyCash
 *
 * @Author wwdeng
 * @CreateTime: 2024/12/26 21:32
 * @Annotation：
 */
public class BlackEditTextView extends ShapeEditText {
    public BlackEditTextView(Context context) {
        super(context);
    }

    public BlackEditTextView(@NonNull Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    public BlackEditTextView(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }
    @Override
    public void setTypeface(@Nullable Typeface tf) {
        super.setTypeface(tf);
    }

    @Override
    public void setTypeface(@Nullable Typeface tf, int style) {
        super.setTypeface(NittyApp.app.getBlackTypeface());
    }
}
